package com.project.dao;

import com.project.webapp.form.front.LoginForm;
import com.project.webapp.form.front.RegisterForm;

public interface IDaoCustomer extends IBaseDao {
    /**
     * 
     * 检验前台登入用户帐号密码是否正确
     *
     * @param loginForm
     * @return
     * @throws Exception
     */
    public boolean validLoginCustomer(LoginForm loginForm) throws Exception;

    /**
     * 注册用户
     *
     * @param registerForm
     * @return
     * @throws Exception
     */
    public boolean saveCustomer(RegisterForm registerForm) throws Exception;
}
